package com.hbx.platform.auth.service.impl;

import com.hbx.platform.auth.domain.EmployeeRole;
import com.hbx.platform.auth.mapper.EmployeeRoleMapper;
import com.hbx.platform.auth.service.IEmployeeRoleService;
import com.hbx.platform.base.service.impl.BaseServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author hbx
 * @since 2024-04-09
 */
@Service
public class EmployeeRoleServiceImpl extends BaseServiceImpl<EmployeeRole> implements IEmployeeRoleService {

    @Autowired
    private EmployeeRoleMapper employeeRoleMapper;

    @Override
    public EmployeeRole queryByEmpId(Long id) {
        return employeeRoleMapper.queryByEmpId(id);
    }
}
